﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Resources;
using System.Globalization;

namespace YHM.SelectBox
{
    [Serializable]
    internal class Resource
    {
        private static ResourceManager resourceMan;
        private static CultureInfo resourceCulture;
        private static ResourceManager ResourceManager
        {
            get
            {
                if (object.ReferenceEquals(resourceMan, null))
                {
                    resourceMan = new ResourceManager("YHM.SelectBox.Resources", typeof(Resource).Assembly);
                }
                return resourceMan;
            }
        }

        private static CultureInfo ResourceCulture
        {
            get { return resourceCulture; }
            set { resourceCulture = value; }
        }

        public static string GetClientScript
        {
            get
            {
                return ResourceManager.GetString("ClientScripts", resourceCulture);
            }
        }
    }
}
